import { connect } from 'dva'
import DocumentTitle from 'react-document-title'
const contractSign =  ({
  modules:{
    showList
  },
  contractSign: {}
}) => {
  // 定义数组接受react标签
  let TagArry = []
  if (showList.length !== 0) {
    showList.map((item,index) => {
     let Test1 = item
     return TagArry.push(<Test1 key={index}></Test1>)
    })
  }
  
  return (
    <DocumentTitle title='电子合同签署'>
      <div>
       {TagArry}
      </div>
    </DocumentTitle>
  )
}
const getModules = (state) => {
  return {
    contractSign:state.contractSign,
    modules:state.modules
  }
}
export default connect(getModules)(contractSign)